package com.example.networktest.utils;

import okhttp3.*;

public class HttpUtil {

    public static void sendOkHttpGetRequest(String address, okhttp3.Callback callback) {

        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder()
                .url(address)
                .build();
        client.newCall(request).enqueue(callback);
    }
}
